package cn.yqx.bankshop.oauth2.service.fallback;
import cn.yqx.bankshop.oauth2.service.UserService;
import cn.yqx.bankshop.user.pojo.BuUserInfo;
import cn.yqx.bankshop.user.pojo.LoginShopUser;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;


@Slf4j
@Service
public class UserServiceFallbackFactory implements UserService {
    @Override
    public BuUserInfo selectByUsername(String username) {
        BuUserInfo buUserInfo = new BuUserInfo() ;

        return buUserInfo;
    }

    @Override
    public LoginShopUser findByUsername(String username) {
        LoginShopUser buUserInfo = new LoginShopUser() ;

        return buUserInfo;
    }

    @Override
    public LoginShopUser findByMobile(String mobile) {
        LoginShopUser buUserInfo = new LoginShopUser() ;

        return buUserInfo;
    }

    @Override
    public LoginShopUser findByOpenId(String openId) {
        LoginShopUser buUserInfo = new LoginShopUser() ;

        return buUserInfo;
    }
}
